package com.lynn.common.net.entity

import kotlinx.serialization.Serializable

/**
 * @description: 网络请求响应基类
 * {
 *     "retCode": "1",
 *     "retMsg": "获取首页展示成功",
 *     "data": "03015C7F7243D0E1B68AF2FCC5DBF1ECBEB73243D53BC66C0EBDB5D33987ABED34A22F780C617F159485FD506149510F73DEE4D3E7DBAD21324804B6F96F613FF9FED084B5451E95C509776296C95AE0356174BC43F81EED1130913806ED5D0CFFEC71193793693531B7A7581B239A4738666E74A14254A9B894999CDDF0D4053C0261D2B9A8F4FDC1D55A68CDF28FAEEE1076711A7E6D1EE6D0DBD91E538A9DE6E8229A1D02F76B19E45DAF1BCCB4DB220EEE69090607B51CD17EC714B061A7150210643AB7A13A574D8D0AF95187531CB2EC9197153A8EFBB4F01E75145549EED692C52F38C53F022CF915BE88871F98C5D90E34ACE3FFB00C20A0D2D738D84ACDA5205DC4B75D4E83981831867148EE24AAF73DA7C3F9DEE69D47EE21999FEDA7",
 *     "httpCode": 200,
 *     "msg": "OK",
 *     "timestamp": 1749173418700
 * }
 * @author: bailing
 * @datetime: 2025/5/27 13:30
 **/
@Serializable
data class BaseResponse(
    var retCode: Int? = null, // 1表示成功，其他表示失败
    var retMsg: String? = null, // 错误信息
    var data: String? = null, // 数据
    var httpCode: Int? = null, // http状态码
    var msg: String? = null, // 错误信息
    var timestamp: Long? = null // 时间戳

)